package cn.redsoft.wechatapi.msg.req.event;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("xml")
public class QRCodeScanningUnSubscribeEventRequestMsg extends EventRequestMsg {

	@XStreamAlias("EventKey")
	protected String eventKey;// 事件KEY值，qrscene_为前缀，后面为二维码的参数值

	@XStreamAlias("Ticket")
	protected String ticket;// 二维码的ticket，可用来换取二维码图片

	public QRCodeScanningUnSubscribeEventRequestMsg() {
		this.event = Event.QR_CODE_SCANNING_UNSUBSCRIBE;
	}

	public String getEventKey() {
		return eventKey;
	}

	public void setEventKey(String eventKey) {
		this.eventKey = eventKey;
	}

	public String getTicket() {
		return ticket;
	}

	public void setTicket(String ticket) {
		this.ticket = ticket;
	}

	@Override
	public String toString() {
		return "QRCodeScanningUnSubscribeEventRequestMsg [eventKey=" + eventKey
				+ ", ticket=" + ticket + ", event=" + event + ", toUserName="
				+ toUserName + ", fromUserName=" + fromUserName
				+ ", createTime=" + createTime + ", msgType=" + msgType + "]";
	}

}
